package com.sht.common.service.oracle;

import java.util.List;

import com.sht.common.dao.mybatis.IBaseDao;

public abstract class BaseSercice<T> implements IBaseService<T>{
	private IBaseDao<T> baseDao;
	
	@Override
	public List<T> getAll(T example) {
		return baseDao.selectByCondition(example);
	}
	public IBaseDao<T> getBaseDao() {
		return baseDao;
	}
	public abstract void setBaseDao(IBaseDao<T> baseDao);
	
}
